]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Remove shellWorkspaceLaunch()
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 16 Feb 2024 22:42:22 +0000 (23:42 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 17 Feb 2024 10:42:46 +0000 (10:42 +0000)
It was deprecated in commit 942758bb308 back in 2019.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>

js/ui/appDisplay.js

index 14b2ab258740b5bed687093e1154897d023e2099..cb1a41250ad14cbf035039c721c6cc70cc48c4d8 100644 (file)
@@ -3189,18 +3189,6 @@ export const AppIcon = GObject.registerClass({
         this.icon.animateZoomOutAtPos(x, y);
     }
 
-    shellWorkspaceLaunch(params) {
-        let {stack} = new Error();
-        log(`shellWorkspaceLaunch is deprecated, use app.open_new_window() instead\n${stack}`);
-
-        params = Params.parse(params, {
-            workspace: -1,
-            timestamp: 0,
-        });
-
-        this.app.open_new_window(params.workspace);
-    }
-
     getDragActor() {
         return this.app.create_icon_texture(Main.overview.dash.iconSize);
     }